Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time: add getter for Interval's period #3705

Merged
merged 1 commit into from
Apr 15, 2021
Merged

Conversation

DBLouis
Copy link
Contributor

@DBLouis DBLouis commented Apr 15, 2021

This patch allows accessing the period of an Interval

Closes: #3701

@Darksonn Darksonn changed the title time: add getter for Interval's period (#3701) time: add getter for Interval's period Apr 15, 2021
@Darksonn Darksonn added A-tokio Area: The main tokio crate M-time Module: tokio/time labels Apr 15, 2021
Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@Darksonn Darksonn merged commit c8a6bb0 into tokio-rs:master Apr 15, 2021
@Darksonn Darksonn mentioned this pull request May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-time Module: tokio/time
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add getter for the period of an Interval
2 participants